<script>
jQuery(document).ready(function(){
    jQuery("#form1").validationEngine();
   });
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="maintable">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td valign="top"><table width="100%" align="center" cellpadding="2" cellspacing="2" border="0">
              <tr>
                <td width="100%" align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="block-block">Change Profile</td>
                    </tr>
                    <tr>
                      <td align="left" valign="top" class="border_add"><form name="form1" id="form1" action="<?php echo base_url();?>user/do_changeprofile/" method="post" enctype="multipart/form-data">
                          <table width="60%" align="left" border="0" cellpadding="5" cellspacing="1">
                             <tr>
                              <td align="right" valign="top" class="tbllogin">Username</td>
                              <td align="center" valign="top" class="tbllogin">:</td>
                              <td align="left" colspan="2" valign="top"><?php echo $username?></td>
                            </tr>
                            <tr>
                              <td width="32%" align="right" valign="top" class="tbllogin"><font color="#FF0000">*</font> Name</td>
                              <td width="5%" align="center" valign="top" class="tbllogin">:</td>
                              <td width="63%" colspan="2" align="left" valign="top"><input type="text" name="full_name" id="full_name" title="Name" value="<?php echo $full_name?>" class="validate[required,custom[onlyLetterSp]] textbox" size="35"  />
                                &nbsp;&nbsp;<font color="#FF0000"><?php echo form_error('full_name'); ?></font></td>
                            </tr>
                            <tr>
                              <td align="right" valign="top" class="tbllogin"><font color="#FF0000">*</font> Email</td>
                              <td align="center" valign="top" class="tbllogin">:</td>
                              <td align="left" colspan="2" valign="top"><input type="text" name="email_address" id="email_address" title="Email" value="<?php echo $email_address?>" class="validate[required,custom[email]] textbox" size="35"  />
                              &nbsp;&nbsp;<font color="#FF0000"><?php echo form_error('email_address'); ?></font></td>
                            </tr>  
                            <tr>
                              <td>&nbsp;</td>
                              <td>&nbsp;</td>
                              <td><input type="submit" value=" <?php echo lang('change') ?> " onmouseover="this.className='normal-bttn1'" onmouseout="this.className='normal-bttn'" class="normal-bttn" />
                                &nbsp;&nbsp;
                              <input type="button" name="btn" value="<?php echo lang('cancel') ?>" onClick="javascript:window.location='<?php echo base_url();?>login/index';" onmouseover="this.className='normal-bttn1'" onmouseout="this.className='normal-bttn'" class="normal-bttn" /></td>
                            </tr>
                          </table>
                        </form></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table></td>
  </tr>
</table>
